package com.kma.summer2012.client.events.manager;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;

/**
 * Created with IntelliJ IDEA.
 * User: Администратор
 * Date: 13.02.13
 * Time: 15:04
 * To change this template use File | Settings | File Templates.
 */
public class ManageToolsEvent extends GwtEvent<ManageToolsEvent.ManageToolsEventHandler> {
    public interface ManageToolsEventHandler extends EventHandler {
        void onManageTools(ManageToolsEvent event);
    }

    private static Type<ManageToolsEventHandler> TYPE = new Type<ManageToolsEventHandler>();

    @Override
    public Type<ManageToolsEventHandler> getAssociatedType() {
        return TYPE;
    }

    public static Type<ManageToolsEventHandler> getType() {
        return TYPE;
    }


    @Override
    protected void dispatch(ManageToolsEventHandler manageToolsEventHandler) {
        manageToolsEventHandler.onManageTools(this);
    }


}
